/**
* @Author: Rain
* @Date: 2023/11/02 21:59:55
* @LastEditTime: 2023/11/04 18:37:55
* @Description: Do Something
 */
import request from '@/utils/request'

export function add(data) {
  return request({
    url: 'api/studentWitnessConfig',
    method: 'post',
    data
  })
}

export function del(ids) {
  return request({
    url: 'api/studentWitnessConfig/',
    method: 'delete',
    data: ids
  })
}

export function edit(data) {
  return request({
    url: 'api/studentWitnessConfig',
    method: 'put',
    data
  })
}

export function getConfigDetail(data) {
  return request({
    url: 'api/studentWitnessItemConfig',
    method: 'get',
    params: data
  })
}
export default { add, edit, del, getConfigDetail }
